<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>

    <script src="./axios.js"></script>
    <script src="work09.js"></script>

    <!-- 关键：声明 type="module" 启用模块化 -->
    <script type="module" src="work09main.js"></script>
</head>

<body>
    <form action="http://172.18.201.14:8080/login" method="post">
        <input id="username" type="text" name="username" value="16666" placeholder="请输入用户名">
        <br>
        <input id="password" type="password" name="password">
        <br>
        <button type="submit">登录</button>
        <button id="btn_post" type="submit">post登录</button>
    </form>
</body>

</html>